<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>New Global Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration52.classes.html">New Classes</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.class-constants.html">New Class Constants</a></div>
 <div class="up"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration52.global-constants" class="section">
  <h2 class="title">New Global Constants</h2>

  <p class="para">PHP Core:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>M_EULER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>M_LNPI</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>M_SQRT3</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>M_SQRTPI</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PATHINFO_FILENAME</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PREG_BACKTRACK_LIMIT_ERROR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PREG_BAD_UTF8_ERROR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PREG_INTERNAL_ERROR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PREG_NO_ERROR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>PREG_RECURSION_LIMIT_ERROR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>UPLOAD_ERR_EXTENSION</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_SHUT_RD</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_SHUT_WR</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>STREAM_SHUT_RDWR</code></strong>
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.curl.html" class="link">curl</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLE_FILESIZE_EXCEEDED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLE_FTP_SSL_FAILED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLE_LDAP_INVALID_URL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPAUTH_DEFAULT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPAUTH_SSL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPAUTH_TLS</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPSSL_ALL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPSSL_CONTROL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPSSL_NONE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLFTPSSL_TRY</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLOPT_FTP_SSL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLOPT_FTPSSLAUTH</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLOPT_TCP_NODELAY</code></strong>
    </span>
    <span class="simpara">
     Added in PHP 5.2.1.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLOPT_TIMEOUT_MS</code></strong>
    </span>
    <span class="simpara">
     Added in PHP 5.2.3
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>CURLOPT_CONNECTTIMEOUT_MS</code></strong>
    </span>
    <span class="simpara">
     Added in PHP 5.2.3
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.gmp.html" class="link">GMP</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>GMP_VERSION</code></strong>
    </span>
    <span class="simpara">
     Added in PHP 5.2.2.
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.ming.html" class="link">ming</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWFTEXTFIELD_USEFONT</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWFTEXTFIELD_AUTOSIZE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_NOT_COMPRESSED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_ADPCM_COMPRESSED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_MP3_COMPRESSED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_NOT_COMPRESSED_LE</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_NELLY_COMPRESSED</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_5KHZ</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_11KHZ</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_22KHZ</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_44KHZ</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_8BITS</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_16BITS</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_MONO</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SWF_SOUND_STEREO</code></strong>
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.openssl.html" class="link">openssl</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>OPENSSL_VERSION_NUMBER</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>OPENSSL_VERSION_TEXT</code></strong>
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.snmp.html" class="link">snmp</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>SNMP_OID_OUTPUT_FULL</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>SNMP_OID_OUTPUT_NUMERIC</code></strong>
    </span>
   </li>
  </ul>

  <p class="para"><a href="ref.sem.html" class="link">Semaphore</a>:</p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <strong><code>MSG_EAGAIN</code></strong>
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <strong><code>MSG_ENOMSG</code></strong>
    </span>
   </li>
  </ul>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration52.classes.html">New Classes</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration52.class-constants.html">New Class Constants</a></div>
 <div class="up"><a href="migration52.html">Migrating from PHP 5.1.x to PHP 5.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
